package com.hisense.ovcloud.spark.sql.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data(staticConstructor = "model")
@Table("custom_device_pair")
public class CustomDevicePair extends Model<CustomDevicePair> {
    @Id(keyType = KeyType.Auto)
    @Column(value = "id")
    private long id;

    @Column(value = "customerid")
    private String customerId;

    @Column(value = "puid")
    private String puid;

    @Column(value = "wifiid")
    private String wifiId;

    @Column(value = "deviceid")
    private String deviceId;

    @Column(value = "devicetype")
    private String deviceType;

    @Column(value = "featurecode")
    private String featureCode;

    @Column(value = "platform")
    private String platform;

    @Column(value = "pair_alias")
    private String pairAlias;

    @Column(value = "pair_begin")
    private String pairBegin;

    @Column(value = "pair_end")
    private String pairEnd;

    @Column(value = "timezone_id")
    private String timezoneId;

    @Column(value = "timezone")
    private int timezone;

    @Column(value = "update_time")
    private String updateTime;
}
